<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=175868a7734b73cd32d4acc8464c509f">
    </script>
    <style>
        #container {
            width: 300px;
            height: 180px;
        }
    </style>
</head>

<body>
    <div id="container"></div>
    <script>
        var map = new AMap.Map('container', {
            zoom: 18, //级别
            center: [106.454784, 29.556879], //中心点坐标
            viewMode: '3D' //使用3D视图
        });


        // 创建一个 Marker 实例：
        var marker = new AMap.Marker({
            position: new AMap.LngLat(106.454784, 29.556879), // 经纬度对象，也可以是经纬度构成的一维数组[116.39, 39.9]
            title: '周春印'
        });

        // 将创建的点标记添加到已有的地图实例：
        map.add(marker);
    </script>
</body>

</html>